{if condition="empty($child_menu_list)==false"}
<div class="collapse navbar-collapse pull-left " id="navbar-collapse" style="background-color: #ddd;
width: 100%; margin-bottom: 5px">
    <ul class="nav navbar-nav web_child_nav">
        {volist name="child_menu_list" id="c_menu"}
        <li class="{$c_menu['url']==$page_url ? 'active' : ''}"><a href="javascript:;" onclick="reload_tab(this)" data-url="{:url($c_menu['url'])}">{$c_menu['title']} </a></li>
        {/volist}

    </ul>
</div>
{/if}
<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/Index/Project/Returned/add')}" class="btn btn-block btn-info" data-toggle="modal" data-target="#base_returned_modal">添加项目回款</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">项目回款列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <th>标号</th>



                                <th>项目名称</th>

                                <th>项目金额(万)</th>

                                <th>计划回款比例(%)</th>

                                <th>计划回款金额(万)</th>

                                <th>
                                    实际回款比例(%)
                                </th>

                                <th>实际回款金额(万)</th>

                                <th>回款计划时间</th>

                                <th>回款实际时间</th>

                                <th>完成状态</th>

                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>

                                <td>{$vo.project["title"]}</td>
                                <td>{$vo.project_price}</td>
                                <td>{$vo.plan_ratio}</td>
                                <td>{$vo.plan_price}</td>
                                <td>{$vo.real_price}</td>
                                <td>{$vo.real_ratio}</td>
                                <td>{$vo.plan_time}</td>
                                <td>{$vo.real_time}</td>
                                <td>{$code_status[$vo.status]}</td>





                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/Returned/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/Index/Project/Returned/edit',['id'=>$vo.id])}" class="btn label-info">编辑</a>
                                    <a href="{:url('/Index/Project/Returned/show',['id'=>$vo.id])}" class="btn label-danger bg-olive" data-toggle="modal" data-target="#base_modal">查看详情 </a>
                                    <a href="{:url('/Index/Project/Returned/status',['id'=>$vo.id])}" class="btn label-info bg-purple" data-toggle="modal" data-target="#base_modal">修改状态</a>
                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div>
            </div>
        </div>
</section>
<div class="modal " id="base_returned_modal">
    <div class="modal-dialog ">
        <div class="modal-content "></div>
    </div>
</div>
<script src="/public/admin/js/common.js"></script>